package com.zhservice.admin.service;

import com.zhservice.admin.condition.AdminQueryCondition;
import com.zhservice.admin.domain.Admin;
import com.zhservice.admin.enums.EnabledStatus;
import com.zhtools.Operator;
import com.zhtools.page.PageBean;

import java.util.List;

public interface AdminService {
    Admin getByUsername(String username);

    void modifyPassword(String username, String password, Operator operator);

    void modifyEnabledStatus(List<Long> ids, EnabledStatus enabledStatus, Operator operator);

    PageBean<Admin> queryAdminPage(AdminQueryCondition condition, PageBean<Admin> pageBean);
}
